<template>
    <div id="app">
        <keep-alive :include="['Aboutme', 'Message', 'FriendsLink', 'Photo']">
            <!-- html -->
            <transition name="fade-transform" mode="out-in">
                <router-view></router-view>
            </transition>
        </keep-alive>
    </div>
</template>

<script>
export default {
    name: 'App',
}
</script>

<style lang="less">
// 原博客主提色
@tcolors: #97dffd; //按钮和标签颜色
@tcolorm: #64609E; //分类的选中的颜色
@tcolord: #48456D; //按钮hover 的颜色

// /***** 粉红色主题****/
// @tcolors:#97dffd;//按钮和标签颜色
// @tcolorm:#64609E;//分类的选中的颜色
// @tcolord:#48456D;//按钮hover 的颜色
//
// /******淡黄色主题*****/
// @tcolors:#97dffd;//按钮和标签颜色
// @tcolorm:#64609E;//分类的选中的颜色
// @tcolord:#48456D;//按钮hover 的颜色
//
// /****** 淡紫色主题 ****/
// @tcolors: #97dffd; //按钮和标签颜色
// @tcolorm: #64609E; //分类的选中的颜色
// @tcolord: #48456D; //按钮hover 的颜色

/*reset*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
}

body {
    font-family: Arial, "STHeiti", Helvetica, sans-serif;
    background: #efefef;
    font-size: 14px;
    color: #444 !important;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    -webkit-overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

fieldset,
img {
    border: 0
}

legend {
    display: none
}

// address, caption, cite, code, dfn, em, strong, th, var{
//   font-style:normal;
//   font-weight:normal
// }
ol,
ul {
    list-style: none
}

caption,
th {
    text-align: left
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal
}

q:before,
q:after {
    content: ''
}

abbr,
acronym {
    border: 0
}

a {
    text-decoration: none;
}

html {
    -webkit-text-size-adjust: none;
    width: 100%;
    height: 100%
}

/*????iphone??safari????????????*/
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="search"] {
    appearance: none;
    border-radius: 0;
}

/*************其他内容*************/
#app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    overflow-x: hidden;
    -webkit-overflow-x: hidden;
    color: #444;
}

h1,
h2 {
    font-weight: normal;
}

a {
    color: #444;
}

.container {
    max-width: 85%;
    margin: 0 auto;
    padding: 0 10px;
    // overflow-x: hidden;
    // -webkit-overflow-x: hidden;
}

//时间和标题
.s-round-date {
    position: absolute;
    top: -25px;
    left: -35px;
    height: 55px;
    width: 65px;
    padding-top: 10px;
    border-radius: 100px;
    color: #fff;
    background: @tcolors;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

.s-round-date span {
    text-align: center;
    display: block;
}

.s-round-date .day {
    font-size: 30px;
    font-weight: 700;
}

// 相同的标题副标题
.tcommonBox {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
    position: relative;
    background: #fff;
    padding: 0 !important;
    border-radius: 5px;
    // margin: 18px;
    font-size: 15px;
    // height: 21rem;
    overflow: hidden;
    border-radius: 20px 20px;
}

.tcommonBox header {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
}

.tcommonBox header h1 {
    margin: 10px 0;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    line-height: 30px;
}

.tcommonBox header h2 {
    margin: 10px 0;
    line-height: 24px;
    text-align: center;
    color: #555;
    font-size: 14px;
}

.tcommonBox section p {
    line-height: 24px;
    margin: 10px 0;
}

.tcommonBox header h2 .el-rate,
.rateBox {
    display: inline-block;
}

.tcommonBox header h2 .el-rate i {
    font-size: 16px;
}

.s-item .article-coontent {
    font-size: 15px;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
}

//标题和按钮
.s-item .article-content p {
    margin: 10px 0;
    line-height: 24px;
}

.s-item .viewdetail {
    margin: 10px 0;
    line-height: 24px;
    text-align: center;
}

.s-item .viewdetail a {
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
}

.viewmore {
    text-align: center;
    width: 100%;
}

.viewmore a {
    /*background:  #97dffd;*/
    /*padding:6px 0;*/
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    height: 30px;
    line-height: 30px;
    display: block;
}

@media screen and (max-width: 500px) {

    .maxW {
        max-width: 100% !important;
    }

    .listtital h1 {
        font-size: 1.5em !important;
    }

    .listtital h2 {
        font-size: 1em !important;
        color: #8a8a8a !important;
    }

    .showimg {
        height: 20rem !important;
        overflow: hidden;
        text-align: center;
        margin: 20px 0 !important;
    }

    .texttop {
        position: relative !important;
        margin: 0 auto !important;
        color: white;
        left: 20px !important;
        font-size: 15px !important;
    }

    .detailtital {
        font-size: 2em !important;
        font-weight: 700;
        margin-bottom: 1rem !important;
    }

    .card-content1 {
        margin-top: 110px;
    }

    //500px 手机尺寸
    .headBox {
        display: contents;
    }

    .headImgBox {
        min-height: 930px !important;
        width: auto;
        margin-bottom: -140px !important;
    }

    .jiantou {
        top: 80% !important;
    }

    .jiantou img {
        margin: 0 45% !important
    }

    .h-information {
        display: none;
    }

    .scene {
        font-size: 40px !important;
        position: relative;
        top: 300px !important;
    }

    .dlikeColBox {
        //点赞收藏手机端换行
        display: block !important;
        float: none !important;
        margin: 10px auto !important;
        text-align: center !important;
    }

    .el-message-box {
        //提示弹框手机展示
        max-width: 80%;
    }

    .userInfoBox .el-input,
    .userInfoBox .el-textarea {
        //用户中心表框
        max-width: 280px !important;
    }

    .userInfoBox li {
        //li 更改padding  缩小距离
        padding: 15px 5px !important;
    }

    .userInfoBox li .el-radio-group .el-radio {
        //标签样式调整
        margin-left: 15px !important;
        margin-bottom: 5px;
    }

    .tFriendsBox .tf-item a {
        //好友列表自适应缩小尺寸
        padding: 0 5px 0 60px !important;

        img {
            width: 50px !important;
            height: 50px !important;
            left: 5px !important;
        }
    }

    .phototop {
        height: 8rem !important;
        margin-bottom: 0 !important;
    }

    .phototop h1 {
        font-size: 2rem !important;
        line-height: 10rem !important;
    }

}

@media screen and (max-width: 700px) and (min-width: 501px) {
    .maxW {
        max-width: 100% !important;
    }

    .showimg {
        height: 21rem !important;
        overflow: hidden;
        text-align: center;
        margin: 20px 0 !important;
    }

    .card-content1 {
        margin-top: 100px;
    }

    .mobileBox {
        //手机端导航栏显示
        display: block;
    }

    .scene {
        font-size: 40px !important;
        position: relative;
        top: 300px !important;
    }

    .headImgBox {
        min-height: 1000px !important;
        width: auto;
        margin-bottom: -140px !important;
    }

    .h-information {
        display: none;
    }

    .jiantou {
        top: 80% !important;
    }

    .jiantou img {
        margin: 0 47% !important
    }

    .phototop {
        height: 12rem !important;
    }
}


@media screen and (min-width: 701px) {
    .headBox {
        display: block;
    }

    .mobileBox {
        display: none;
    }
}

@media screen and (max-width:800px) {
    .el-dialog {
        width: 80% !important;
    }

    .el-dialog .tital textarea {
        font-size: 15px;
    }

    .total {
        margin: 10px;
    }

    .s-item {
        margin: 0 !important;
        margin-bottom: 40px !important;
    }

    .container {
        max-width: 100% !important;
        margin: 0 auto;
    }

    .s-round-date {
        width: 0 !important;
    }

    .jiantou img {
        left: 47% !important
    }

    .ui.label {
        left: -18px !important;
        padding-left: 18px !important;
    }

    .ui.label::after {
        border: none !important;
    }

    .headBox li.el-menu-item,
    .headBox .el-submenu__title {
        padding: 0 15px;
    }

    .toTop {
        display: none !important;
    }

    //隐藏上滑图标
    .hidden {
        display: none !important;
    }

}

@media screen and (min-width:801px) {

    .headBox li.el-menu-item,
    .headBox .el-submenu__title {
        padding: 0 12px;
    }

}

@media screen and (max-width:990px) {

    // .hidden{
    //     display: none!important;
    // }
    div.rightlistBox .rs2.fixed {
        position: relative;
        top: 0;
        width: auto;
    }
}

@media screen and (min-width:991px) {

    .headBox li.el-menu-item,
    .headBox .el-submenu__title {
        padding: 0 20px;
    }
}

@media screen and (min-width: 1280px) and(max-width: 1440px) {
    .img {
        height: 20rem !important;
        overflow: hidden;
        border-radius: 20px;
        box-shadow: 0 10px 10px #848484;
    }

    .headcol1 {
        width: 20%;
    }

    .headcol2 {
        width: 70%;
    }

    .headcol3 {
        width: 10%;
    }
}

@media screen and (min-width: 1441px) and(max-width: 1680px) {

    .headcol1 {
        width: 25%;
    }

    .headcol2 {
        width: 63%;
    }

    .headcol3 {
        width: 10%;
    }
}

@media screen and (min-width: 1681px) and(max-width: 1920px) {
    .headcol1 {
        width: 30%;
    }

    .headcol2 {
        width: 55%;
    }

    .headcol3 {
        width: 10%;
    }
}

@media screen and (min-width: 1920px) {
    .headcol1 {
        width: 40%;
    }

    .headcol2 {
        width: 50%;
    }

    .headcol3 {
        width: 10%;
    }
}

.tcolors {
    color: @tcolors;
}

.tcolorm {
    color: @tcolorm;
}

.tcolord {
    color: @tcolord;
}

.tcolors-bg {
    background: @tcolors;
    transition: all .3s ease-in-out;
}

.tcolord-bg {
    background: @tcolord;
}

.tcolors-bg:hover {
    background: @tcolord;
}

.paginationBox li.active {
    background: @tcolorm;
}

.paginationBox li:hover {
    color: @tcolord;
}

.el-pagination button:hover {
    color: @tcolord;
}


.fitImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.maxW {
    max-width: 100%;
}

.fwb {
    font-weight: bold;
}

.right {
    float: right;
}

.left {
    float: left;
}

.btnone {
    border-top: none !important;
}

.brone {
    border-right: medium none !important;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
}

.clearfix:after {
    clear: both
}


.logoImg {
    width: 160px;
    ;
    height: 50px;
    display: inline-block;
    padding: 5px 5px;
    vertical-align: top;
}

.logoImg img {
    width: 100%;
    height: 100%;
}

//公共标签
.ui.label {
    border-color: @tcolors;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
    background-color: #97dffd;
    margin: 0 0 5px 2px;
    font-size: 14px;
    position: relative;
    left: -32px;
    border-radius: 0 4px 4px 0;
    padding: 7px 11.2px 7px 32px;
    display: inline-block;
    color: #fff;
}

.ui.label::after {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border-top: 0 solid transparent;
    border-right-width: 1em;
    border-right-color: @tcolord;
    border-right-style: solid;
    border-bottom: 1em solid transparent;
    border-left: 0 solid transparent;
    width: 0;
    height: 0;
}

.ui.label a {
    color: #fff;
    line-height: 100%;
}
</style>
